Automattic\WooCommerce\EmailEditor\Engine\Theme_Controller S

Total Complexity 40
Dependencies 5
Dependents 7
Total lines 314
Lines of code 159
Logical lines of code 106
Comment lines 116
Methods 13
Properties 3

Methods 13

Method Rating Maintainability Complexity Lines of code
get_stylesheet_for_rendering()
A
40 12 58
recursive_replace_presets()
S
61 4 12
recursive_extract_preset_variables()
S
60 4 12
get_base_theme()
S
57 3 17
get_variables_values_map()
S
62 3 11
translate_slug_to_font_size()
S
65 3 9
translate_slug_to_color()
S
63 3 10
get_styles()
S
62 2 11
get_stylesheet_from_context()
S
77 2 3
__construct()
S
71 1 5
get_theme()
S
73 1 5
get_settings()
S
81 1 3
get_layout_settings()
S
80 1 3